<template>
  <el-dialog title="小时曲线" :visible.sync="dialogVisible" width="70%"  append-to-body :close-on-click-modal="false">
    <div>
      <real-time-data/>
    </div>
<!--    <span slot="footer" class="dialog-footer">-->
<!--    <el-button @click="dialogVisible = false">取 消</el-button>-->
<!--    <el-button type="primary" @click="dialogVisible = false">确 定</el-button>-->
<!--  </span>-->
  </el-dialog>
</template>

<script>
import RealTimeData from '@/views/onlineMonitor/details/components/RealTimeData'
export default {
  name: 'HistoryModel',
  components: {
    RealTimeData
  },
  data() {
    return {
      dialogVisible: false
    }
  },
  methods: {
    showModel() {
      this.dialogVisible = true
    },
    handleClose(done) {
      this.$confirm('确认关闭？')
        .then(res => {
          done()
        })
        .catch(err => {
        })
    }
  }
}
</script>

<style scoped>

</style>
